import { Stroke } from './stroke';

export class UndoItem {
    private _strokes: Stroke[];
    constructor(strokes: Stroke[]) {
        this._strokes = strokes || [];
    }
    /**
     * 获取包含的线条
     */
    public get strokes() {
        return this._strokes;
    }
}